package com.shiro.test.mvc.mapper;

import com.shiro.test.mvc.dao.IBaseDao;
import com.shiro.test.mvc.pojo.LeaveApply;

import java.util.List;

public interface LeaveApplyMapper extends IBaseDao {

    List<LeaveApply> getLeaveList(LeaveApply criteria);

    void addLeaveApply(LeaveApply leaveApply);

    List<LeaveApply> getLeaveTaskList(int userId);

    void updateLeave(LeaveApply leaveApply);
}